Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 feat: Reusable ethereum-wallet-mock package #1124

Merged
merged 4 commits into from
Apr 21, 2024

Conversation

matstyler
Copy link
Collaborator

@matstyler matstyler commented Apr 18, 2024

TL;DR

Updated the Test Dapp to use Ethereum Wallet Mock instead of MetaMask.

What changed?

  • Replaced MetaMaskMock with EthereumWalletMock in the Test Dapp
  • Added methods for importing wallets and adding new accounts in EthereumWalletMock

How to test?

  • Instructions for testing have been added to the test files

Why make this change?

To provide better support for Ethereum wallets and improve testing capabilities in the Test Dapp


Motivation and context

Replaced metamask-mock package by general ethereum-wallet-mock.

Does it fix any issue?

#(issue)

Quality checklist

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough e2e tests.

⚠️👆 Delete any section you see irrelevant before submitting the pull request 👆⚠️

@matstyler matstyler requested a review from drptbl April 18, 2024 18:46
Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
synpress ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 7:57pm

@matstyler matstyler changed the title 🎨feat: ethereum-wallet-mock package 🎨 feat: General ethereum-wallet-mock package Apr 18, 2024
*/
readonly page: Page
) {
constructor(readonly page: Page) {

Check warning

Code scanning / CodeQL

Useless assignment to property Warning

This write to property 'page' is useless, since
another property write
always overrides it.
Copy link

graphite-app bot commented Apr 18, 2024

Graphite Automations

"Assign drptbl as reviewer" took an action on this PR • (04/18/24)

1 assignee was added to this PR based on 's automation.

"Post a GIF when PR approved" took an action on this PR • (04/21/24)

1 gif was posted to this PR based on 's automation.

@matstyler matstyler changed the title 🎨 feat: General ethereum-wallet-mock package 🎨 feat: Reusable ethereum-wallet-mock package Apr 18, 2024
Copy link

graphite-app bot commented Apr 21, 2024

Added via Giphy

@drptbl drptbl merged commit b312b42 into new-dawn Apr 21, 2024
14 checks passed
@drptbl drptbl deleted the feat/ethereum-wallet-mock branch April 21, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants